package gspushmq.v1.app.subscribeapp.models;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description 调用必传参数体
 * @Author chengsj
 * @Date 2018/9/21 13:07
 * @Version 1.0
 * @company 上海朝阳永续信息技术有限公司
 * @copyright (c) 2015 SunTime Co'Ltd Inc. All rights reserved.
 **/
public class BaseVO implements Serializable {

    /** 产品线code */
    private Integer source;

    /** 生产者code */
    private Integer producer_code;

    /** 消费者code */
    private Integer consumer_code;

    /** 消息标题 */
    private String message_title;

    /** 消息内容 */
    private String message_content;

    /** 消息额外对象 */
    private Object message_content_ext;

    /** 消息中可带单张图片url */
    private String message_img_url;

    /** 消息推送时间[精确到分钟] */
    private Date start_time;

    /** 消息有效截止日期[精确到分] */
    private Date end_time;

    /** 通知链接类型code */
    private Integer notice_link_type;

    /** 点击链接跳转目标名称 */
    private String notice_goto_name;

    /** 点击链接跳转的url */
    private String notice_goto_url;

    /** 点击链接跳转的模块id */
    private String notice_goto_id;

     /** 点击链接跳转的拓展参数id */
    private String notice_ext_parameters;

    /** 消息推送方式code (群组，账号)*/
    private Integer target_code;

    /** 消息推送人群（账号）code（普通，vip...使用,分隔） */
    private String levels;

    /** 消息发布者（admin，发布者） */
    private String auther;

    /** 推送平台设置 */
    private Integer plate_code;


    public BaseVO() {
    }

    public BaseVO(BaseVO vo) {
        this.source = vo.getSource();
        this.consumer_code = vo.getConsumer_code();
        this.message_title = vo.getMessage_title();
        this.message_content = vo.getMessage_content();
        this.message_content_ext = vo.getMessage_content_ext();
        this.message_img_url = vo.getMessage_img_url();
        this.start_time = vo.getStart_time();
        this.end_time = vo.getEnd_time();
        this.notice_link_type = vo.getNotice_link_type();
        this.notice_goto_name = vo.getNotice_goto_name();
        this.notice_goto_url = vo.getNotice_goto_url();
        this.notice_goto_id = vo.getNotice_goto_id();
        this.target_code = vo.getTarget_code();
        this.levels = vo.getLevels();
        this.auther = vo.getAuther();
        this.producer_code = vo.getProducer_code();
        this.notice_ext_parameters = vo.getNotice_ext_parameters();
        this.plate_code = vo.getPlate_code();
    }

    public Object getMessage_content_ext() {
        return message_content_ext;
    }

    public void setMessage_content_ext(Object message_content_ext) {
        this.message_content_ext = message_content_ext;
    }

    public Integer getProducer_code() {
        return producer_code;
    }

    public Integer getPlate_code() {
        return plate_code;
    }

    public void setPlate_code(Integer plate_code) {
        this.plate_code = plate_code;
    }

    public void setProducer_code(Integer producer_code) {
        this.producer_code = producer_code;
    }

    public String getNotice_ext_parameters() {
        return notice_ext_parameters;
    }

    public void setNotice_ext_parameters(String notice_ext_parameters) {
        this.notice_ext_parameters = notice_ext_parameters;
    }

    public Integer getSource() {
        return source;
    }



    public void setSource(Integer source) {
        this.source = source;
    }

    public Integer getConsumer_code() {
        return consumer_code;
    }

    public void setConsumer_code(Integer consumer_code) {
        this.consumer_code = consumer_code;
    }

    public String getMessage_title() {
        return message_title;
    }

    public void setMessage_title(String message_title) {
        this.message_title = message_title;
    }

    public String getMessage_content() {
        return message_content;
    }

    public void setMessage_content(String message_content) {
        this.message_content = message_content;
    }

    public String getMessage_img_url() {
        return message_img_url;
    }

    public void setMessage_img_url(String message_img_url) {
        this.message_img_url = message_img_url;
    }

    public Date getStart_time() {
        return start_time;
    }

    public void setStart_time(Date start_time) {
        this.start_time = start_time;
    }

    public Date getEnd_time() {
        return end_time;
    }

    public void setEnd_time(Date end_time) {
        this.end_time = end_time;
    }

    public Integer getNotice_link_type() {
        return notice_link_type;
    }

    public void setNotice_link_type(Integer notice_link_type) {
        this.notice_link_type = notice_link_type;
    }

    public String getNotice_goto_name() {
        return notice_goto_name;
    }

    public void setNotice_goto_name(String notice_goto_name) {
        this.notice_goto_name = notice_goto_name;
    }

    public String getNotice_goto_url() {
        return notice_goto_url;
    }

    public void setNotice_goto_url(String notice_goto_url) {
        this.notice_goto_url = notice_goto_url;
    }

    public String getNotice_goto_id() {
        return notice_goto_id;
    }

    public void setNotice_goto_id(String notice_goto_id) {
        this.notice_goto_id = notice_goto_id;
    }

    public Integer getTarget_code() {
        return target_code;
    }

    public void setTarget_code(Integer target_code) {
        this.target_code = target_code;
    }

    public String getLevels() {
        return levels;
    }

    public void setLevels(String levels) {
        this.levels = levels;
    }

    public String getAuther() {
        return auther;
    }

    public void setAuther(String auther) {
        this.auther = auther;
    }
}
